{
  "properties" : { },
  "id" : "91e50ee533904fe2a45833cb89c862ba",
  "script" : null,
  "groupId" : "f65c3f8b5be64dea8331b33939d3b2a0",
  "name" : "查询巡检执行时间",
  "createTime" : 1727071102146,
  "updateTime" : 1725271076230,
  "lock" : "0",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "selectTimeListByTaskId",
  "method" : "GET",
  "parameters" : [ {
    "name" : "taskId",
    "value" : "1819188656790945793",
    "description" : "",
    "required" : false,
    "dataType" : "String",
    "type" : "",
    "defaultValue" : "",
    "validateType" : "",
    "error" : "",
    "expression" : "",
    "children" : [ ]
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"executetime\": \"2024-09-02 17:54:26\"\n        },\n        {\n            \"executetime\": \"2024-08-23 17:17:10\"\n        },\n        {\n            \"executetime\": \"2024-08-02 09:53:34\"\n        },\n        {\n            \"executetime\": \"2024-08-02 09:49:55\"\n        }\n    ]\n}",
  "description" : "",
  "requestBodyDefinition" : {
    "name" : null,
    "value" : null,
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  },
  "responseBodyDefinition" : {
    "name" : null,
    "value" : null,
    "description" : null,
    "required" : false,
    "dataType" : "String",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  }
}
================================
//taskId
  
return db.select (""" SELECT distinct UPDATE_TIME execute_time from ndmp_audit_result where task_id = #{taskId} ORDER BY UPDATE_TIME DESC """)